package com.ruanjian.api.mapper;

import com.ruanjian.api.bean.ExperimentFund;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExperimentFundMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExperimentFund record);

    int insertSelective(ExperimentFund record);

    ExperimentFund selectByPrimaryKey(Long id);

    List<ExperimentFund> listFundsByUserId(Long userId);

    List<ExperimentFund> listFundsSelective(ExperimentFund fund);

    List<ExperimentFund> listFundByFundId(ExperimentFund fund);

    int updateByPrimaryKeySelective(ExperimentFund record);

    int updateByPrimaryKey(ExperimentFund record);
}